<?php


$count = 100000;

$ip = $argv[1];

if(!$ip) {
	echo $argv[0], " <ip> \n";
	exit;
}
$begin = time();
for($i = 0; $i < $count; $i ++) {
	(ysip_get_region_info($ip));
}
$end = time();


echo "avg is " , $count / ($end - $begin), "\n";
